package com.zero.clinic.mapper;

import com.zero.clinic.pojo.User;
import com.zero.clinic.pojo.UserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(User record);


    int deleteByIds(@Param("ids") String[] userIds);
}